package cn.zz.veggie.web.types.vo.mgmt.purchase;

import java.util.List;

import cn.zz.comm.core.types.IdNameObj;
import cn.zz.veggie.web.types.vo.his.HisProductVo;
import lombok.Getter;
import lombok.Setter;

/**
 * @author zhongq
 * @since 2024/6/8
 */
@Getter
@Setter
public class MgmtPurchaseDetailVo {
	// total
	private HisProductVo product;
	private Integer quantity;
	// item
	private List<MgmtPurchaseDetailItemVo> items;

	@Getter
	@Setter
	public static class MgmtPurchaseDetailItemVo {
		private Integer id;
		private IdNameObj shop;
		private Integer quantity;
		private Integer shipped;
		private Integer price;
		private Integer amount;
		private String remark;
	}

}